﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>IniWrite（写入INI文件字符串类型数据）</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<P>函数原型：<br>Function IniWrite(file As WString Ptr, sec As WString Ptr, key As WString Ptr, value As WString Ptr) As Integer<br>int IniWrite(wchar* file, wchar* sec, wchar* key, wchar* value);</P>
<P>VB、VBS、按键精灵声明：<br>Declare Function Lib "xTask.dll" IniWrite(ByVal file As Srting, ByVal sec As Srting, ByVal key As Srting, value As String) As Long</P>
<P>参数：<br>file：ini文件路径<br>sec：小节名<br>key：键名<br>value：数据内容</P>
<P>成功返回true，失败返回false</P>
<P>说明：<br>写入数据到ini文件。</P>
</body>
</html>